package com.wuyou;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 *  管理员服务
 */
@SpringBootApplication
@MapperScan("com.wuyou.mapper")
@EnableFeignClients //开启feign
@EnableDiscoveryClient // 启用发现客户端
public class AdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class,args);
    }
}
